import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';

import { AppComponent } from './app.component';
//Animations
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';
import { AppRoutingModule } from './app-routing.module';
//ui
//zorro
import { NgZorroAntdModule } from 'ng-zorro-antd';

//component
import { MainModule } from './main/main.module';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    BrowserAnimationsModule,
    FormsModule,
    HttpModule,
    ReactiveFormsModule,
    NgZorroAntdModule.forRoot(),
    MainModule,
    AppRoutingModule // 调用路由
  ],
  providers: [],
  bootstrap: [AppComponent],
  exports: []
})
export class AppModule { }
